<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>card</title>
  <style>
    .wrapper{
      position: relative;
      overflow: hidden;
      width: 480px;
      height: 240px;
      margin: 100px auto;
      background-image: url(1.jpg);
      background-size: 100% 100%;
      border-radius: 5px;
      box-shadow: 0 1.4px 1.7px rgba(0, 0, 0, 0.017),
                  0 3.3px 4px rgba(0, 0, 0, 0.024), 
                  0 6.3px 7.5px rgba(0, 0, 0, 0.03), 
                  0 11.2px 13.4px rgba(0, 0, 0, 0.036), 
                  0 20.9px 25.1px rgba(0, 0, 0, 0.043), 
                  0 50px 60px rgba(0, 0, 0, 0.06);
    }
    .topper{
      position: absolute;
      top: 240px;
      left: 0;
      width: 480px;
      height: 240px;
      background-image: linear-gradient(to bottom, rgba(72, 76, 97, 0), rgba(72, 76, 97, 0.6));
      border-radius: 5px;
      transition: all 0.3s;
    }
    .wrapper:hover .topper{
      transform: translate(0, -240px);
    }
    .wrapper p{
      position:absolute;
      width: 100%;
      color: #fff;
      text-align: center;
      transition: all .4s;
    }
    p:nth-child(2){
      top: 160px;
      font-weight: bold;
      font-size: 23px;
    }
    P:nth-child(3){
      top: 205px;
      font-size: 14px;
      opacity: 0;
    }
    .wrapper:hover p{
      transform: translate(0, -45px);
    }
    .wrapper:hover P:nth-child(3){
      opacity: 1;
    }
  </style>
</head>
<body>
  <div class="wrapper">
    <div class="topper"></div>
    <p>EMMYLOU</p>
    <p class="p2">I'll be your Emmylou and I'll be your June</p>
  </div>
</body>
</html>